package cn.jasonone;

import javafx.beans.property.StringProperty;
import lombok.Data;

/**
 * @author xujie
 * @version 1.0
 * @date 2021/12/22 16:17
 */
@Data
public class UserInfo {
    private StringProperty username;
    private StringProperty password;

    public String getUsername() {
        return username.get();
    }

    public StringProperty usernameProperty() {
        return username;
    }

    public void setUsername(String username) {
        this.username.set(username);
    }

    public String getPassword() {
        return password.get();
    }

    public StringProperty passwordProperty() {
        return password;
    }

    public void setPassword(String password) {
        this.password.set(password);
    }
}
